package cn.animal; 

public interface DataAccess { 

public boolean addAnimal(Animal animal); 

public boolean deleteAnimal(Animal animal); 

public boolean deleteAnimal(String animalName); 

public boolean updateAnimal(Animal oldAnimal,Animal newAnimal); 

public Animal findAnimal(String animalName); 

}